#import "MelancholyDiligentCell.h"


@implementation MelancholyDiligentCell

- (instancetype)initWithFrame:(CGRect)frame {
	self = [super initWithFrame:frame];
	if (self) {
		//self.contentView.backgroundColor = UIColor.whiteColor;
	}
	return self;
}

- (void)setReverieAbandonCrisp:(MelancholyDiligentModel *)reverieAbandonCrisp {
	_reverieAbandonCrisp = reverieAbandonCrisp;

	//: 配置cell的UI

[self.xenophobeLushImageView sd_setImageWithURL:[NSURL URLWithString:reverieAbandonCrisp.picture.stringValue] placeholderImage:nil];

}
//: self.eclipseKeepsakeYonderButton 的点击事件
- (void)action_1 {}

- (UITextField *)hopefulNightfallRadiateTextField {
	if (!_hopefulNightfallRadiateTextField) {
	
        _hopefulNightfallRadiateTextField = [[UITextField alloc] initWithFrame:CGRectZero];
	}
	return _hopefulNightfallRadiateTextField;
}

//: _heatwaveYonderBtn 的点击事件
- (void)action_5 {}

- (UIButton *)heatwaveYonderBtn {
	if (!_heatwaveYonderBtn) {
	
        _heatwaveYonderBtn = [UIButton new];
        UIImage *keyholeWhimsyUnveil = [UIImage imageNamed:@"images/icon_5.png"];
        if (keyholeWhimsyUnveil) {
	        [_heatwaveYonderBtn setImage:keyholeWhimsyUnveil forState:UIControlStateNormal];
        }
        [_heatwaveYonderBtn setTitle:@"button_5" forState:UIControlStateNormal];
        [_heatwaveYonderBtn setTitle:@"button_selected_5" forState:UIControlStateSelected];
        [_heatwaveYonderBtn setTitleColor:[UIColor colorWithRed:74/255.0 green:154/255.0 blue:24/255.0 alpha:0.9] forState:UIControlStateNormal];
        [_heatwaveYonderBtn setTitleColor:[UIColor colorWithRed:106/255.0 green:78/255.0 blue:195/255.0 alpha:0.5] forState:UIControlStateSelected];
        [_heatwaveYonderBtn addTarget:self action:@selector(action_5) forControlEvents:UIControlEventTouchUpInside];
	}
	return _heatwaveYonderBtn;
}

- (UIImageView *)xenophobeLushImageView {
	if (!_xenophobeLushImageView) {
	
        _xenophobeLushImageView = [UIImageView new];
        _xenophobeLushImageView.contentMode = UIViewContentModeScaleAspectFill;
        _xenophobeLushImageView.clipsToBounds = YES;
        _xenophobeLushImageView.layer.cornerRadius = 15;
        _xenophobeLushImageView.layer.masksToBounds = YES;
        _xenophobeLushImageView.size = CGSizeMake(86, 94);
        _xenophobeLushImageView.left = 35;
        _xenophobeLushImageView.top = 5;
        UIImage *rippleSuspicionCourageous = [UIImage imageNamed:@"images/image_6.png"];
        if (rippleSuspicionCourageous) {
	        _xenophobeLushImageView.image = rippleSuspicionCourageous;
        }
	}
	return _xenophobeLushImageView;
}

//: self.tranquilUnderwaterKaleidoscopeButton 的点击事件
- (void)action_8 {}

- (void)sereneLaughVowSubViews {

    //: 描述_0
    self.amazingElevateTextField = [[UITextField alloc] init];
    [self.contentView addSubview:self.amazingElevateTextField];
	[self.amazingElevateTextField mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(76);
		make.height.mas_equalTo(171);
		make.top.equalTo(@(24));
		make.bottom.equalTo(@(13));
	}];


    //: 描述_1
    self.eclipseKeepsakeYonderButton = [[UIButton alloc] init];
    self.eclipseKeepsakeYonderButton.frame = CGRectMake(48, 38, 117, 175);
    UIImage *kiteLanternMingle = [UIImage imageNamed:@"images/icon_1.png"];
    if (kiteLanternMingle) {
	    [self.eclipseKeepsakeYonderButton setImage:kiteLanternMingle forState:UIControlStateNormal];
    }
    [self.eclipseKeepsakeYonderButton setTitle:@"button_1" forState:UIControlStateNormal];
    [self.eclipseKeepsakeYonderButton setTitle:@"button_selected_1" forState:UIControlStateSelected];
    [self.eclipseKeepsakeYonderButton setTitleColor:[UIColor colorWithRed:93/255.0 green:61/255.0 blue:143/255.0 alpha:0.8] forState:UIControlStateNormal];
    [self.eclipseKeepsakeYonderButton setTitleColor:[UIColor colorWithRed:158/255.0 green:71/255.0 blue:87/255.0 alpha:0.8] forState:UIControlStateSelected];
    [self.eclipseKeepsakeYonderButton addTarget:self action:@selector(action_1) forControlEvents:UIControlEventTouchUpInside];
    [self.contentView addSubview:self.eclipseKeepsakeYonderButton];

	//: 描述_2
	[self.contentView addSubview:self.hopefulNightfallRadiateTextField];
	[self.hopefulNightfallRadiateTextField mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(56);
		make.height.mas_equalTo(189);
		make.bottom.equalTo(@(14));
	}];


    //: 描述_3
    UIView *unityConquerMagnitude = [[UIView alloc] initWithFrame:CGRectZero];
    unityConquerMagnitude.frame = CGRectMake(36, 0, 182, 92);
    self.yonderView = unityConquerMagnitude;
    [self.contentView addSubview:unityConquerMagnitude];


    //: 描述_4
    UIView *curiosity = [UIView new];
    self.vortexView = curiosity;
    [self.contentView addSubview:curiosity];
	[self.vortexView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(180);
		make.height.mas_equalTo(161);
		make.bottom.equalTo(@(12));
	}];

	//: 描述_5
	[self.contentView addSubview:self.heatwaveYonderBtn];
	[self.heatwaveYonderBtn mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(68);
		make.height.mas_equalTo(185);
		make.top.equalTo(@(26));
		make.bottom.equalTo(@(10));
	}];

	//: 描述_6
	[self.contentView addSubview:self.xenophobeLushImageView];


    //: 描述_7
    UIView *harmonyCharismaThrive = [UIView new];
    self.questView = harmonyCharismaThrive;
    [self.contentView addSubview:harmonyCharismaThrive];
	[self.questView mas_makeConstraints:^(MASConstraintMaker *make) {
		make.width.mas_equalTo(87);
		make.height.mas_equalTo(92);
	}];


    //: 描述_8
    self.tranquilUnderwaterKaleidoscopeButton = [UIButton new];
    self.tranquilUnderwaterKaleidoscopeButton.size = CGSizeMake(46, 177);
    self.tranquilUnderwaterKaleidoscopeButton.left = 10;
    self.tranquilUnderwaterKaleidoscopeButton.top = 16;
    UIImage *flourish = [UIImage imageNamed:@"images/icon_8.png"];
    if (flourish) {
	    [self.tranquilUnderwaterKaleidoscopeButton setImage:flourish forState:UIControlStateNormal];
    }
    [self.tranquilUnderwaterKaleidoscopeButton setTitle:@"button_8" forState:UIControlStateNormal];
    [self.tranquilUnderwaterKaleidoscopeButton setTitle:@"button_selected_8" forState:UIControlStateSelected];
    [self.tranquilUnderwaterKaleidoscopeButton setTitleColor:[UIColor colorWithRed:92/255.0 green:239/255.0 blue:98/255.0 alpha:0.9] forState:UIControlStateNormal];
    [self.tranquilUnderwaterKaleidoscopeButton setTitleColor:[UIColor colorWithRed:11/255.0 green:123/255.0 blue:131/255.0 alpha:0.7] forState:UIControlStateSelected];
    [self.tranquilUnderwaterKaleidoscopeButton addTarget:self action:@selector(action_8) forControlEvents:UIControlEventTouchUpInside];
    [self.contentView addSubview:self.tranquilUnderwaterKaleidoscopeButton];
}


@end